# example9_12.py

'''example9_12'''

'''
(py3) F:\wxg103\pythonProjects\FluentPython\ch09>python memtest.py vector2d_v3.py
Selected Vector2d type: vector2d_v3.Vector2d
Creating 10,000,000 Vector2d instances
Initial RAM usage:  4,288,040,960
Final RAM usage:  6,065,004,544
1694.64 Mb

(py3) F:\wxg103\pythonProjects\FluentPython\ch09>
(py3) F:\wxg103\pythonProjects\FluentPython\ch09>python memtest.py vector2d_v3_slots.py
Selected Vector2d type: vector2d_v3_slots.Vector2d
Creating 10,000,000 Vector2d instances
Initial RAM usage:  4,266,864,640
Final RAM usage:  4,916,645,888
619.68 Mb
'''
